@echo off
set tarDir="udStream\builds\"
call :CopyFile "udStream\3rdParty\curl\lib\libcurl.dll" %tarDir%
call :CopyFile "udStream\3rdParty\curl\lib\libeay32.dll" %tarDir%
call :CopyFile "udStream\3rdParty\curl\lib\ssleay32.dll" %tarDir%
call :CopyFile "udStream\3rdParty\curl\lib\zlibwapi.dll" %tarDir%
call :CopyFile "udStream\3rdParty\mqtt\lib\libcrypto-1_1-x64.dll" %tarDir%
call :CopyFile "udStream\3rdParty\mqtt\lib\libssl-1_1-x64.dll" %tarDir%
call :CopyFile "udStream\3rdParty\mqtt\lib\paho-mqtt3as.dll" %tarDir%
call :CopyFile "udStream\3rdParty\openssl\lib\libcrypto-3-x64.dll" %tarDir%
call :CopyFile "udStream\3rdParty\openssl\lib\libssl-3-x64.dll" %tarDir%

timeout /T 2 /NOBREAK>nul
goto=EOF


:CopyFile
set filePath=%~dp0%~1
set tarPath=%~dp0%~2
echo Copy %filePath% to %tarPath%
copy %filePath% %tarPath%
goto=EOF

:EOF

